﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace SystemMHB.API.Application.Command.ProcessTaskCommand
{
    public class ProcessTaskAddCommand:IRequest<int>
    {
        /// <summary>
        /// 工序任务ID
        /// </summary>
        public int processTaskId { get; set; }
        /// <summary>
        /// 工序任务编号
        /// </summary>
        public string? taskMumber { get; set; }
        /// <summary>
        /// 工单编号
        /// </summary>
        public string? workOrder { get; set; }
        /// <summary>
        /// 任务状态
        /// </summary>
        public int taskStatus { get; set; }
        /// <summary>
        /// 优先级
        /// </summary>
        public string? priority { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? productionLot { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string? processName { get; set; }
        /// <summary>
        /// 成品编号
        /// </summary>
        public string? finishedNumber { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? specifications { get; set; }
        /// <summary>
        /// 尺寸
        /// </summary>
        public string? size { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? unit { get; set; }
        /// <summary>
        /// 添加人
        /// </summary>
        public string? AddName { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }
        /// <summary>
        /// 删除编号
        /// </summary>
        public bool IsDel { get; set; }
    }
}
